<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 
	
<head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<title>Simpla Admin | CMS</title>
		
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="<?php echo static_url("css/reset.css"); ?>" type="text/css" media="screen" />

	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="<?php echo static_url("css/style.css"); ?>" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="<?php echo static_url("css/invalid.css"); ?>" type="text/css" media="screen" />
		
		<!-- JQUERY UI -->
		<link rel="stylesheet" href="<?php echo static_url("css/smoothness/jquery-ui-1.7.2.custom.css"); ?>" type="text/css" media="screen" />
		<link rel="stylesheet" href="<?php echo static_url("css/jquery.clockpick.1.2.7.css"); ?>" type="text/css" media="screen" />	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="<?php echo static_url("css/blue.css"); ?>" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="<?php echo static_url("css/red.css"); ?>" type="text/css" media="screen" />  
	 	
		-->
		
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="<?php echo static_url("css/ie.css"); ?>" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
		
		<script type="text/javascript">
			var static_url = "<?php echo static_url();?>";
		</script>
	  
		<!-- jQuery -->

		<script type="text/javascript" src="<?php echo static_url("javascript/jquery-1.3.2.min.js"); ?>"></script>
		<script type="text/javascript" src="<?php echo static_url("javascript/jquery-ui-1.7.2.custom.min.js"); ?>"></script>
		
		<script type="text/javascript" src="<?php echo static_url("javascript/jquery.clockpick.1.2.7.js"); ?>"></script>
		
		<script type="text/javascript" src="<?php echo static_url("javascript/functions.js"); ?>"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="<?php echo static_url("javascript/simpla.jquery.configuration.js"); ?>"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="<?php echo static_url("javascript/facebox.js"); ?>"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="<?php echo static_url("javascript/jquery.wysiwyg.js"); ?>"></script>

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="<?php echo static_url("javascript/DD_belatedPNG_0.0.7a.js"); ?>"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
  
	<body>
		
		<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
			<?php $this->load->view($template_path ."commons/sidebar");?>
			
			<div id="main-content"> <!-- Main Content Section with everything -->
			
				<noscript> <!-- Show a notification if the user has disabled javascript -->
					<div class="notification error png_bg">
						<div>
							Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
						</div>
					</div>
				</noscript>
				
				<?php $this->load->view($template_path . "commons/page-top");?>
				
				<?php $this->load->view($template_path ."commons/notifications");?>
				
				<?php
					$this->load->view($template_path . 'pages/' . $page);
				?>
				
			</div>
			
		</div> <!-- End #login-wrapper -->
		
		
		
		<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
		
  </body>

</html>
